﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IoCSample
{
    public class ReportService
    {
        private string _data;

        public ReportService(string data)
        {
            _data = data;
        }

        public void Trim(string data)
        {
            _data = data.Trim();
        }

        public void Clean()
        {
            _data = _data.Replace("@", "");
            _data = _data.Replace("-", "");

            //...other rules
        }

        public void Show()
        {
            Console.WriteLine(_data);
        }

    }
}
